package com.peak.distribution.entity.admin;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.peak.distribution.enums.Constants;
import com.peak.spring.boot.api.entity.DefaultStategyEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Entity
@Table(name = "dis_user_login_log")
@Data
@EqualsAndHashCode(callSuper = true)
public class DisUserLoginLog extends DefaultStategyEntity {

	private static final long serialVersionUID = Constants.DISTRIBUTION_VERSION;

	/** 登录名 */
	private String username;

	/** 密码 */
	private String password;

	/** 登录时间 */
	private Date loginTime;

	/** 登录是否成功 */
	private Boolean status;

	/** 登录用户 */
	private Integer userId;
}
